#include "InterFace.h"
#include <iostream>
using namespace std;

// 显示主界面
void showMainInterface()
{
    cout << "=====================================" << endl;
    cout << "  ========  学生信息管理系统  ========  " << endl;
    cout << "=====================================" << endl;
    cout << "  =========    1.登录系统    =======  " << endl;
    cout << "  =========    2.注册系统    =======  " << endl;
    cout << "  =========    3.退出系统    =======  " << endl;
    cout << "=====================================" << endl;
}

// 显示普通用户界面
void showUserInterface()
{
    cout << "=====================================" << endl;
    cout << "  ========  普通用户界面  ========  " << endl;
    cout << "=====================================" << endl;
    cout << "  =========    1.查询学生信息    =======  " << endl;
    cout << "  =========    2.显示所有学生信息    =======  " << endl;
    cout << "  =========    3.退出登录    =======  " << endl;
    cout << "=====================================" << endl;
}

// 显示管理员界面
void showAdminInterface()
{
    cout << "=====================================" << endl;
    cout << "  ========  管理员界面  ========  " << endl;
    cout << "=====================================" << endl;
    cout << "  =========    1.添加学生信息    =======  " << endl;
    cout << "  =========    2.删除学生信息    =======  " << endl;
    cout << "  =========    3.修改学生信息    =======  " << endl;
    cout << "  =========    4.查询学生信息    =======  " << endl;
    cout << "  =========    5.显示所有学生信息    =======  " << endl;
    cout << "  =========    6.保存学生信息到文件    =======  " << endl;
    cout << "  =========    7.退出登录    =======  " << endl;
    cout << "=====================================" << endl;
}

// 显示学生信息查询界面
void showSearchInterface()
{
    cout << "=====================================" << endl;
    cout << "  ========  学生信息查询界面  ========  " << endl;
    cout << "=====================================" << endl;
    cout << "  请输入要查询的学生学号: ";
}

// 显示退出界面
void showExitInterface()
{
    cout << "=====================================" << endl;
    cout << "  ========  系统退出  ========  " << endl;
    cout << "=====================================" << endl;
}

// 显示登录界面
void showLoginInterface()
{
    cout << "=====================================" << endl;
    cout << "  ========  登录界面  ========  " << endl;
    cout << "=====================================" << endl;
    cout << "  请输入用户名: ";
}

// 显示注册界面
void showRegisterInterface()
{
    cout << "=====================================" << endl;
    cout << "  ========  注册界面  ========  " << endl;
    cout << "=====================================" << endl;
    cout << "  请输入新用户名: ";
}